package com.abhinav.designPatterns.prototpye;

public class Workshop {
	public Bike makeJaguar(Bike basicBike) {
		basicBike.makeAdvance();
		return basicBike;
	}

	public static void main(String[] args) {
		Bike bike = new Bike();
		Bike basicBike = bike.clone();
		Workshop workshop = new Workshop();
		Bike advanceBike = workshop.makeJaguar(basicBike);
		
		System.out.println("Prototype Design Pattern: "+advanceBike.getModel());
	}
}
